Language Strength Reduction
نویسندگان
چکیده
This paper concerns methods to check for atomic-set serializability violations in concurrent Java programs. The straightforward way to encode a reentrant lock is to model it with a context-free language to track the number of successive lock acquisitions. We present a construction that replaces the context-free language that describes a reentrant lock by a regular language that describes a non-reentrant lock. We call this replacement language strength reduction. Language strength reduction produces an average speedup (geometric mean) of 3.4. Moreover, for 2 programs that previously exhausted available space, the tool is now able to run to completion.
منابع مشابه
POET: a scripting language for applying parameterized source-to-source program transformations
We present POET, a scripting language designed for applying advanced program transformations to code in arbitrary programming languages as well as building adhoc translators between these languages. We have used POET to support a large number of compiler optimizations, including loop interchange, parallelization, blocking, fusion/fission, strength reduction, scalar replacement, SSE vectorizatio...
متن کاملEffects of Kendall Exercise vs. Gong\'s Mobilization on Pain, Range of Motion, Function, and Strength in Cases with Text Neck Syndrome
Objective: To determine the impact of Kendall versus Gong's intervention according to pain sensation, range of movement, function, strength, and posture in cases with text neck syndrome Methods: This randomized clinical trial recruited a sample of 24 patients with text neck syndrome from Fatima Hospital, Sargodha, Pakistan from January to April 2021. The samples were randomly divided into 2 gr...
متن کاملPrincipled strength reduction
This paper presents a principled approach for optimizing iterative (or recur-sive) programs. The approach formulates a loop body as a function f and a change operation , incrementalizes f with respect to , and adopts an incrementalized loop body to form a new loop that is more eecient. Three general optimizations are performed as part of the adoption; they systematically handle initializations,...
متن کاملA direct test of the differentiation mechanism: REM, BCDMEM, and the strength-based mirror effect in recognition memory.
We explore competing explanations for the reduction in false alarm rate observed when studied items are strengthened. Some models, such as Retrieving Effectively from Memory (REM; Shiffrin & Steyvers, 1997), attribute the false alarm rate reduction to differentiation, a process in which strengthening memory traces at study directly reduces the memory evidence for lure items. Models with no diff...
متن کاملIn vitro Comparative Study of Compressive Strength of Different Types of Composite Resins in Different Periods of Time
To evaluate the ultimate compressive strength of five composite resins after 1 hour, 24 hours, 7 days and 1 month. Twenty four cylindric...
متن کامل